package UserUnit;

import java.util.List;

public class ImpPhotoLibrary implements PhotoLibrary {

    List<Object> library = null;
    Storage storage;

    public void setStorage(Storage storage) {
        this.storage = storage;
        library.add(storage);
    }

    public Storage getStorage(int index) {
        return (Storage) library.get(index);
    }

    public List getLibrary() {
        return library;
    }
}
